package com.klun.spring4.a_oneToThree.test;

import org.springframework.boot.SpringApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class BbsDaemon {
    @RequestMapping("/index")
    public String index(){
        return "spring success";
    }

    public static class HelloWorld {

    }

    public static void main(String[] args) {
        SpringApplication.run(BbsDaemon.class,args);
    }
}
